import request from '@/utils/request'

// 新增考勤打卡
export function addCheckInWork(data) {
  return request({
    url: '/time/checkInWork',
    method: 'post',
    data: data
  })
}
// 编辑考勤打卡
export function updateCheckInWork(data) {
  return request({
    url: '/time/checkInWork/',
    method: 'put',
    data: data
  })
}
// 查询排班情况
export function queryCheckInWorkByParam(data) {
  return request({
    url: '/time/checkInWork/queryCheckInWorkByParam',
    method: 'get',
    data: data
  })
}